package com.netty.bfport.http.mapper;

import com.github.pagehelper.Page;
import com.netty.bfport.http.domain.dto.TUserDTO;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @Author: zhaoyang05
 * @Data: 2022/3/23 13:29
 * @Description
 */
@Mapper
public interface PersonInfoMapper {

    /**
     * 列表查询
     * */
    List<TUserDTO> userList(@Param("name")String name, @Param("telephone")String telephone);

    /**
     * 插入人员信息
     * */
    Integer userAdd(TUserDTO tUserDTO);

    /**
     * 修改人员信息
     * */
    Integer userUp(TUserDTO tUserDTO);
}
